package com.org.cbs.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class TmsController {

	private int a = 0;

	@RequestMapping(value = "/tms", method = RequestMethod.GET)
	public String add(Model mm) {
		a++;
		return "tms";
	}

	@ResponseBody
	@RequestMapping(value = "/tmsBody", method = RequestMethod.GET)
	public String add1() {
		return "tms";
	}

}
